Expand description
Re-exports§
Modules§
- Types and traits for extracting data from requests.
- HTTP request types.
- HTTP response types.
- Route requests to the appropriate handler.
- Timer for creating timeouts during request parsing and request handling.
- UrlEncodedString and related types.
Structs§
- Server Configuration.
- A Marker showing that the response has been sent.
- How long to wait before timing out for different operations. If set to None, the operation never times out.
Enums§
- Errors arising while handling a request.
- After the response has been sent, should the connection be kept open to allow the client to make further requests on the same TCP connection?
Functions§
- Serve
app
with incoming requests. App has no state. - Serve
app
with incoming requests. App has a state ofState
.